import request from '@/utils/request'


// 获取列表
export function getMealList(data) {
  return request({
    url: '/beer/system-package/page',
    method: 'GET',
    data: data
  })
}

// 下套餐订单获取id
export function getCodeList(data) {
  return request({
    url: '/beer/package-order/create',
    method: 'POST',
    data: data
  })
}

// 获取支付单号
export function getCodeNo(data) {
  return request({
    url: '/pay/order/get',
    method: 'GET',
    data: data
  })
}

// 提交支付订单
export function submitOrder(data) {
  return request({
    url: '/pay/order/submit',
    method: 'POST',
    data: data
  })
}